<template>
    <div>
        <div id="footer-switch">

            <span  v-if="this.$route.path === '/'">数字版</span>
            <router-link  v-else :to="{path:'/'}">数字版</router-link>
            /
            <span  v-if="this.$route.path === '/name'">姓名版</span>
            <router-link  v-else :to="{path:'/name'}">姓名版</router-link>
        </div>
    </div>

</template>

<script>
    export default {
        name: "MyFooter",
        data() {
            return {}
        }
    }
</script>

<style scoped>
    #footer-switch{
        padding-bottom: 5px
    }
</style>
